<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.springside.modules.security.springsecurity.SpringSecurityUtils"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="page">
	<div class="pageHeader">
		<form id="pagerForm" onsubmit="return navTabSearch(this);" action="${ctx}/account/group.action"
			method="post">
			<%@include file="/common/pageParam.jsp" %>
			<div class="searchBar">
				<ul class="searchContent">
					<li>
						<label>
							组名：
						</label>
						<input type="text" name="filter_LIKES_name" value="${param['filter_LIKES_name']}" size="30" />
					</li>
				</ul>
				<%@include file="/common/subBar.jsp" %>
			</div>
		</form>
	</div>
	<div class="pageContent">
		<div class="panelBar">
			<ul class="toolBar">
				<li>
					<a class="icon" onclick="return navTabSearch($(this).parent('#pagerForm'))"><span>刷新</span>
					</a>
				</li>
				<li class="line">
					line
				</li>
				<security:authorize ifAnyGranted="A_ADD_GROUP">
					<li>
						<a class="add" href="${ctx}/account/group!input.action" target="navTab"><span>添加</span> </a>
					</li>
				</security:authorize>
				<security:authorize ifAnyGranted="A_DEL_GROUP">
					<li>
						<a class="delete" href="${ctx}/account/group!delete.action?id={sid_user}" target="ajaxTodo"
							title="确定要删除吗?"><span>删除</span> </a>
					</li>
				</security:authorize>
				<security:authorize ifAnyGranted="A_MODIFY_GROUP">
					<li>
						<a class="edit" href="${ctx}/account/group!input.action?id={sid_user}" target="navTab"><span>修改</span>
						</a>
					</li>
				</security:authorize>
				<li class="line">
					line
				</li>
				<li>
					<a class="icon" href="javascript:void(0);"><span>导出</span> </a>
				</li>
			</ul>
		</div>
		<table class="table" layoutH="138" width="100%">
			<thead>
				<tr>
					<th width="40">
						ID
					</th>
					<th width="180" orderField="name" class="${page.order }">
						组名称
					</th>
					<th width="260">
						组描述
					</th>
					<th width="50" orderField="orderNo" class="${page.order }">
						排序
					</th>
					<th width="60">
						状态
					</th>
					<th width="80">
						更新人
					</th>
					<th width="125" orderField="updatedTime" class="${page.order }">
						更新时间
					</th>
					<th width="80">
						创建人
					</th>
					<th width="125" orderField="createdTime" class="${page.order }">
						创建时间
					</th>
				</tr>
			</thead>
			<tbody>
				<s:iterator value="page.result" status="st">
					<tr target="sid_user" rel="${id}">
						<td>
							<s:property value='#st.index+1' />
						</td>
						<td>
							<a href="${ctx}/account/group!input.action?id=${id}" target="navTab">${name}</a>
						</td>
						<td>
							${description}
						</td>
						<td>
							${orderNo}
						</td>
						<td>
							<core:text type="STATUS" dicCode="${status}" />
						</td>
							<td>
							${updatedBy}
						</td>
						<td>
							${updatedTime}
						</td>
						<td>
							${createdBy}
						</td>
						<td>
							${createdTime}
						</td>
					</tr>
				</s:iterator>
			</tbody>
		</table>
		<%@include file="/common/pagination.jsp"%>
	</div>
</div>